<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>视频管理</title>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a  href="{:cmf_plugin_url('Aliyunvod://AdminIndex/index')}">视频管理</a></li>
        <li><a href="{:cmf_plugin_url('Aliyunvod://AdminVod/add')}">添加视频</a></li>
        <li class="active"><a>m3u8拉取</a></li>
        
    </ul>
    
    <form class="form-horizontal js-ajax-form margin-top-20" action="{:cmf_plugin_url('Aliyunvod://AdminVod/urlPull')}" method="post">
        
        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label">视频名称<span class="form-required">*</span></label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-name" name="title">
            </div>
        </div>
        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label">视频分类<span class="form-required">*</span></label>
            <volist name='cate' id='vo' key='k'>
                {$vo.cate_name} &nbsp;<input type="radio" name="category_id" value="{$vo.vod_cat_id}" title="{$vo.cate_name}" {$k==1?'checked':''}> &nbsp;&nbsp;&nbsp;&nbsp;
            </volist>
        </div>
        
        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label">m3u8 URL<span class="form-required">*</span></label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-name" name="url">
            </div>
        </div>
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary">{:lang("SAVE")}</button>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>

    function reloadPage(win) {
        win.location.reload();
    }

</script>
<include file="public/scripts"/>
</body>
</html>